package com.xh.bussiness.system.dao;

import com.xh.bussiness.system.bean.request.GroupRequest;
import com.xh.bussiness.system.model.Group;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xh.core.bean.XhPage;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 用户组 Mapper 接口
 * </p>
 *
 * @author Pitt
 * @since 2020-11-23
 */
public interface GroupMapper extends BaseMapper<Group> {

    XhPage<Group> selectGroupList(@Param("page") XhPage page, @Param("bean") GroupRequest request);

    /**
     * 查全部
     * @param request
     * @return
     */
    List<Group> selectGroupList(@Param("bean") GroupRequest request);

    Integer selectMaxSortIndex();
}
